/* eslint-disable @typescript-eslint/no-explicit-any */
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
import React from 'react';
import { storeContext } from '../stories';
interface IProvider{
    store:{
        state:any,
        dispatch:React.Dispatch<any>,
    },
    children?:React.ReactNode
}
const Provider = (props: IProvider) => {
    return <storeContext.Provider value={props.store}>{props.children}</storeContext.Provider>;
};
export default Provider